package com.open.capacity.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("sys_resume")
@EqualsAndHashCode(callSuper=true)
public class SysResume  extends Model<SysResume> implements Serializable {

    private static final long serialVersionUID = 749313340290141180L;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    @TableField(value="user_id")
    private SysUser addresser;
    private String name;
    private String uri;
    private Integer enable;
    private Integer deleted;
    @TableField(value="create_time")
    private Date createTime;
    @TableField(value="update_time")
    private Date updateTime;
}
